package cn.ekuma.data.ui.android.editor;

import android.view.View;

import cn.ekuma.android.ui.filter.QuickTimeFilter;
import cn.ekuma.android.ui.filter.TimeCycleChangedListener;

import cn.ekuma.data.dao.bean.I_BaseBean;

/**
 * Created by Administrator on 2014/12/12.
 */
public abstract class AbstractTimeCycleListPageEditorActivate<T extends I_BaseBean> extends AbstractListPageEditorActivate<T> implements TimeCycleChangedListener {

    protected QuickTimeFilter quickTimeFilter;

    public View createFilterPanel(){
        quickTimeFilter=new QuickTimeFilter(this);
        quickTimeFilter.setTimeCycleChangedListener(this);
        return quickTimeFilter;
    }

    @Override
    public void filterParaReset() {
        quickTimeFilter.resertValues();
    }
}
